package com.tqsa.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author zhangjiaqing
 * @version 1.0
 * @date 2024/3/26 9:19
 * @description: TODO
 */
@Data
public class UserVO implements Serializable {
    @ApiModelProperty(value = "用户的用户名")
    private String username;

    @ApiModelProperty(value = "用户的密码")
    private String password;

    @ApiModelProperty(value = "用户的年龄")
    private Integer age;

    @ApiModelProperty (value = "用户的性别 (0代表女性，1代表男性，等等)")
    private Integer sex;

    @JsonFormat (pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty (value = "创建时间")
    private LocalDateTime createdTime;

}

